package com.pureut.quality.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pureut.common.core.web.domain.BaseEntity;
import lombok.Data;


import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/***
 * 巡检单据表 入参
 * Author:C
 * Date:2023/02/10 15:27
 * @DESC
 */
@Data
public class QualityPatrolInspectionDocumentVo extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 生产阶别
     */
    @NotNull(message = "生产阶别不能为空")
    private int productionLevel;

    /**
     * 生产线别
     */
    @NotNull(message = "生产线别不能为空")
    private String productionLine;

    /**
     * 制令单号
     */
    @NotBlank(message = "制令单号不能为空")
    private String orderNo;

    /**
     * 产品编码
     */
    private String materialCode;

    /**
     * 检验项目id
     */
    private long itemId;

    /**
     * 巡检单号
     */
    private String patrolInspectionNo;

    /**
     * 状态
     */
    private int status;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 检验项目ids
     */
    private String itemIds;
}
